The Source Control Integration API > Enablers > SCS_canDelete()

 

SCS_canDelete()

Description

Returns whether or not the Delete menu item should be enabled.

Arguments

connectionData, remotePathList, numItems

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePathList is a list of fully qualified remote file or folder paths to delete.
numItems is the number of items in each list.

Returns

true if enabled, false if not.